import axios from '@/libs/api.request'
// import config from '@/config'
/**
 * 根据经纬度返回地址信息
 * @param lat
 * @param lon
 * @returns {*|Promise|Promise<any>|Window.Promise}
 */
export const getAddress = (lat, lon) => {
  return axios.request({
    url: '/Api/Api/getAddress',
    data: { lat: lat, lon: lon },
    type: 'get'
  })
}
